package com.travel.struts.action;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;

import org.apache.struts.action.Action;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;

public class HotelAction extends Action {

	public ActionForward execute(ActionMapping mapping, HttpServletRequest request) {
		HttpSession session = request.getSession();
		session.setAttribute("hotel", null);
		session.setAttribute("id", null);
		return mapping.findForward("user");
	}
}
